package com.example.game2048.bean;

/**
 * Pile 格子类
 */
public class Pile {
    private int value;
    private boolean isMove;
    private boolean isJoined;
    private int actualX;
    private int actualY;

    public Pile(int value) {
        this.value = value;
        setMove(false);
        setJoined(false);
    }


    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public boolean isMove() {
        return isMove;
    }

    public void setMove(boolean move) {
        isMove = move;
    }

    public boolean isJoined() {
        return isJoined;
    }

    public void setJoined(boolean joined) {
        isJoined = joined;
    }

    public int getActualX() {
        return actualX;
    }

    public void setActualX(int actualX) {
        this.actualX = actualX;
    }

    public int getActualY() {
        return actualY;
    }

    public void setActualY(int actualY) {
        this.actualY = actualY;
    }
}
